package com.xiaoxin.nmzp.server.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName nmzp_resume
 */
@TableName(value ="nmzp_resume")
public class NmzpResume implements Serializable {
    /**
     * id主键
     */
    @TableId
    private Long resumeId;

    /**
     * 用户id关联用户，一对一
     */
    private Long userId;

    /**
     * 学历信息，JSON格式
     */
    private String educations;

    /**
     * 是否有工作经验(0否，1是)
     */
    private Integer isWorkExperience;

    /**
     * 工作经验信息，JSON数组格式
     */
    private String workExperience;

    /**
     * 个人优势信息
     */
    private String advantage;

    /**
     * 项目经验,JSON数组格式
     */
    private String projectExperience;

    /**
     * 附件简历地址
     */
    private String attachment;

    /**
     * 职位类型固定数据
     */
    private Integer jobType;

    /**
     * 求职状态（0离校-正在找工作 1在校-正在找工作 2在校-看看机会 3在线-暂时不找工作 4离校-我要当牛马）
     */
    private Integer jobSeekingStatus;

    /**
     * 资格证书, 公共字符串分割
     */
    private String credential;

    /**
     * 专业技能，说明自己擅长的技能信息
     */
    private String professionalSkill;

    /**
     * 自我评估
     */
    private String selfEvaluation;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建用户
     */
    private Long createUser;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除标识（0默认，1删除）
     */
    private Integer isDel;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    public Long getResumeId() {
        return resumeId;
    }

    /**
     * id主键
     */
    public void setResumeId(Long resumeId) {
        this.resumeId = resumeId;
    }

    /**
     * 用户id关联用户，一对一
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 用户id关联用户，一对一
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 学历信息，JSON格式
     */
    public String getEducations() {
        return educations;
    }

    /**
     * 学历信息，JSON格式
     */
    public void setEducations(String educations) {
        this.educations = educations;
    }

    /**
     * 是否有工作经验(0否，1是)
     */
    public Integer getIsWorkExperience() {
        return isWorkExperience;
    }

    /**
     * 是否有工作经验(0否，1是)
     */
    public void setIsWorkExperience(Integer isWorkExperience) {
        this.isWorkExperience = isWorkExperience;
    }

    /**
     * 工作经验信息，JSON数组格式
     */
    public String getWorkExperience() {
        return workExperience;
    }

    /**
     * 工作经验信息，JSON数组格式
     */
    public void setWorkExperience(String workExperience) {
        this.workExperience = workExperience;
    }

    /**
     * 个人优势信息
     */
    public String getAdvantage() {
        return advantage;
    }

    /**
     * 个人优势信息
     */
    public void setAdvantage(String advantage) {
        this.advantage = advantage;
    }

    /**
     * 项目经验,JSON数组格式
     */
    public String getProjectExperience() {
        return projectExperience;
    }

    /**
     * 项目经验,JSON数组格式
     */
    public void setProjectExperience(String projectExperience) {
        this.projectExperience = projectExperience;
    }

    /**
     * 附件简历地址
     */
    public String getAttachment() {
        return attachment;
    }

    /**
     * 附件简历地址
     */
    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    /**
     * 职位类型固定数据
     */
    public Integer getJobType() {
        return jobType;
    }

    /**
     * 职位类型固定数据
     */
    public void setJobType(Integer jobType) {
        this.jobType = jobType;
    }

    /**
     * 求职状态（0离校-正在找工作 1在校-正在找工作 2在校-看看机会 3在线-暂时不找工作 4离校-我要当牛马）
     */
    public Integer getJobSeekingStatus() {
        return jobSeekingStatus;
    }

    /**
     * 求职状态（0离校-正在找工作 1在校-正在找工作 2在校-看看机会 3在线-暂时不找工作 4离校-我要当牛马）
     */
    public void setJobSeekingStatus(Integer jobSeekingStatus) {
        this.jobSeekingStatus = jobSeekingStatus;
    }

    /**
     * 资格证书, 公共字符串分割
     */
    public String getCredential() {
        return credential;
    }

    /**
     * 资格证书, 公共字符串分割
     */
    public void setCredential(String credential) {
        this.credential = credential;
    }

    /**
     * 专业技能，说明自己擅长的技能信息
     */
    public String getProfessionalSkill() {
        return professionalSkill;
    }

    /**
     * 专业技能，说明自己擅长的技能信息
     */
    public void setProfessionalSkill(String professionalSkill) {
        this.professionalSkill = professionalSkill;
    }

    /**
     * 自我评估
     */
    public String getSelfEvaluation() {
        return selfEvaluation;
    }

    /**
     * 自我评估
     */
    public void setSelfEvaluation(String selfEvaluation) {
        this.selfEvaluation = selfEvaluation;
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 创建用户
     */
    public Long getCreateUser() {
        return createUser;
    }

    /**
     * 创建用户
     */
    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    /**
     * 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 删除标识（0默认，1删除）
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 删除标识（0默认，1删除）
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        NmzpResume other = (NmzpResume) that;
        return (this.getResumeId() == null ? other.getResumeId() == null : this.getResumeId().equals(other.getResumeId()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
            && (this.getEducations() == null ? other.getEducations() == null : this.getEducations().equals(other.getEducations()))
            && (this.getIsWorkExperience() == null ? other.getIsWorkExperience() == null : this.getIsWorkExperience().equals(other.getIsWorkExperience()))
            && (this.getWorkExperience() == null ? other.getWorkExperience() == null : this.getWorkExperience().equals(other.getWorkExperience()))
            && (this.getAdvantage() == null ? other.getAdvantage() == null : this.getAdvantage().equals(other.getAdvantage()))
            && (this.getProjectExperience() == null ? other.getProjectExperience() == null : this.getProjectExperience().equals(other.getProjectExperience()))
            && (this.getAttachment() == null ? other.getAttachment() == null : this.getAttachment().equals(other.getAttachment()))
            && (this.getJobType() == null ? other.getJobType() == null : this.getJobType().equals(other.getJobType()))
            && (this.getJobSeekingStatus() == null ? other.getJobSeekingStatus() == null : this.getJobSeekingStatus().equals(other.getJobSeekingStatus()))
            && (this.getCredential() == null ? other.getCredential() == null : this.getCredential().equals(other.getCredential()))
            && (this.getProfessionalSkill() == null ? other.getProfessionalSkill() == null : this.getProfessionalSkill().equals(other.getProfessionalSkill()))
            && (this.getSelfEvaluation() == null ? other.getSelfEvaluation() == null : this.getSelfEvaluation().equals(other.getSelfEvaluation()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getResumeId() == null) ? 0 : getResumeId().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getEducations() == null) ? 0 : getEducations().hashCode());
        result = prime * result + ((getIsWorkExperience() == null) ? 0 : getIsWorkExperience().hashCode());
        result = prime * result + ((getWorkExperience() == null) ? 0 : getWorkExperience().hashCode());
        result = prime * result + ((getAdvantage() == null) ? 0 : getAdvantage().hashCode());
        result = prime * result + ((getProjectExperience() == null) ? 0 : getProjectExperience().hashCode());
        result = prime * result + ((getAttachment() == null) ? 0 : getAttachment().hashCode());
        result = prime * result + ((getJobType() == null) ? 0 : getJobType().hashCode());
        result = prime * result + ((getJobSeekingStatus() == null) ? 0 : getJobSeekingStatus().hashCode());
        result = prime * result + ((getCredential() == null) ? 0 : getCredential().hashCode());
        result = prime * result + ((getProfessionalSkill() == null) ? 0 : getProfessionalSkill().hashCode());
        result = prime * result + ((getSelfEvaluation() == null) ? 0 : getSelfEvaluation().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", resumeId=").append(resumeId);
        sb.append(", userId=").append(userId);
        sb.append(", educations=").append(educations);
        sb.append(", isWorkExperience=").append(isWorkExperience);
        sb.append(", workExperience=").append(workExperience);
        sb.append(", advantage=").append(advantage);
        sb.append(", projectExperience=").append(projectExperience);
        sb.append(", attachment=").append(attachment);
        sb.append(", jobType=").append(jobType);
        sb.append(", jobSeekingStatus=").append(jobSeekingStatus);
        sb.append(", credential=").append(credential);
        sb.append(", professionalSkill=").append(professionalSkill);
        sb.append(", selfEvaluation=").append(selfEvaluation);
        sb.append(", createTime=").append(createTime);
        sb.append(", createUser=").append(createUser);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", isDel=").append(isDel);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}